<?php

class Authgroup extends Zend_Db_Table
{
    protected $_name = 'authgroup';
    
    public function getGroup($id)
    {
        $group = $this->fetchRow('id='.$id);
        return $group;
    }
    
    public function getGroupName($id)
    {
        $group = $this->fetchRow('id='.$id);
        return $group->name;
    }
}
